// Package schmea
// @Author Spume
// @Date 2025-01-14 10:41

package schmea

import (
	"gitee.com/spume/common_service/app/billing/internal/model/entity"
	"github.com/shopspring/decimal"
)

type Billing struct {
	*entity.Billing
}

type BillingBatch struct {
	MemberId     string `p:"memberId" v:"required"`
	CurrencyType int    `p:"currencyType" v:"required"`

	BusinessId string          `p:"businessId"`
	Amount     decimal.Decimal `p:"amount" v:"required"`
	Month      string          `p:"month"`
	Date       string          `p:"date"`
	ActionType string          `p:"actionType"` // 交易类型

	//PayMode   string `p:"payMode" v:"required"` // 计费模式
	//Type       int `p:"type" ` // 操作类型

	Description string `p:"description" `

	WithWallet bool `p:"withWallet"`
}

type WithdrawBatch struct {
	MemberId     string `p:"memberId" v:"required"`
	CurrencyType int    `p:"currencyType" v:"required"`

	BusinessId string          `p:"businessId"`
	Amount     decimal.Decimal `p:"amount" v:"required"`
	//Remark     string          `p:"remark" `
}
